import Vue from 'vue'
import Router from 'vue-router'
import home from '@/views/home'
import homeOne from '@/views/homeOne'
import rollback from '@/views/rollback'
import TwoSize from '@/views/TwoSize'
import Quick from '@/views/Quick'
import homeTwo from '@/views/homeTwo'
import DailyReport from '@/views/DailyReport' //日报表
import WeeklyReport from '@/views/WeeklyReport' //周报表
import MonthlyReport from '@/views/MonthlyReport' //月报表
import personalData from '@/views/personalData' //月报表
import ChangePassword from '@/views/ChangePassword' //修改密码
import Procedures from '@/views/Procedures' //规则说明
import homeThree from '@/views/homeThree'
import side from '@/views/side'
import login from '@/views/login'
import lottery from '@/views/lottery'
import note from '@/views/note'

Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            component: login,
            name: "登录",
            hidden: true
        },
        {
            path: '/home',
            component: home,
            name: "首页",
            iconCls: "el-icon-menu",
            children: [{
                    path: '/homeOne',
                    component: homeOne,
                    name: "一字定"
                },
                {
                    path: '/TwoSize',
                    component: TwoSize,
                    name: "二字定"
                },
                {
                    path: '/Quick',
                    component: Quick,
                    name: "快选"
                },
                {
                    path: '/homeTwo',
                    component: homeTwo,
                    name: "历史账单"
                },
                {
                    path: '/DailyReport',
                    component: DailyReport,
                    name: "日报表"
                },
                {
                    path: '/WeeklyReport',
                    component: WeeklyReport,
                    name: "周报表"
                },
                {
                    path: '/MonthlyReport',
                    component: MonthlyReport,
                    name: "月报表"
                },
                {
                    path: '/personalData',
                    component: personalData,
                    name: "个人资料"
                },
                {
                    path: '/ChangePassword',
                    component: ChangePassword,
                    name: "修改密码"
                },
                {
                    path: '/homeThree',
                    component: homeThree,
                    name: "物业报表列表"
                },
                {
                    path: '/Procedures',
                    component: Procedures,
                    name: "规则说明"
                },
                {
                    path: '/lottery',
                    component: lottery,
                    name: "开奖号码"
                },
                {
                    path: '/rollback',
                    component: rollback,
                    name: "快打"
                },
                {
                    path: '/note',
                    component: note,
                    name: "下注明细"
                },

            ]
        },
        {
            path: '/side',
            component: side,
            name: "首页2",
            iconCls: "el-icon-menu",
        },
    ]
})